#ifndef DATA_TYPE_H_
#define DATA_TYPE_H_

//#define USE_DOUBLE_PRECISION

#ifdef USE_DOUBLE_PRECISION
#define DATA_TYPE double
#define DATA_TYPE2 double2
#define DATA_TYPE_EPS 1E-10
#else
#define DATA_TYPE float
#define DATA_TYPE2 float2
#define DATA_TYPE_EPS 1E-5f
#endif

#define PI (DATA_TYPE)3.14159265359


#endif